home *** CD-ROM | disk | FTP | other *** search
/ Computer Select (Limited Edition) / Computer Select.iso / pcc / v04n11 / batch1.exe / HEXSIZE.BAT < prev    next >
Encoding:
DOS Batch File  |  1991-09-17  |  380 b   |  19 lines

  1. @ECHO OFF 
  2. REM This is HEXSIZE.BAT
  3. IF %1!==! GOTO OOPS
  4. REM Be sure "rcx" in next line is lowercase
  5. ECHO rcx  > SCR
  6. ECHO.   >> SCR
  7. ECHO Q   >> SCR
  8. ECHO @ECHO OFF> CX.BAT
  9. ECHO ECHO Length (in hex) is %%1 >> CX.BAT
  10. DEBUG %1 < SCR | FIND "CX" > GO.BAT
  11. CALL GO
  12. DEL SCR
  13. DEL CX.BAT
  14. GOTO END
  15. :OOPS
  16. ECHO Enter name of file whose length
  17. ECHO you want in hex notation
  18. :END
  19.